package cn.aitrox.ry.service.auth.dao;

import cn.aitrox.ry.common.dao.BaseDao;
import cn.aitrox.ry.service.auth.entity.AuthGroupRoleEntity;

import java.util.List;

public interface AuthGroupRoleDao extends BaseDao<AuthGroupRoleEntity> {

    void deleteByGroupId(Integer groupId);

    void batchInsert(List<AuthGroupRoleEntity> list);

    void deleteByGroupIdRoleIds(Integer groupId, List<Integer> roleIds);

    List<AuthGroupRoleEntity> findByGroupIds(List<Integer> groupIds);
}
